package com.wyvoid.forum.dao;

import com.wyvoid.core.persistent.hibernate.IHibernateDAO;
import com.wyvoid.core.persistent.hibernate.HibernatePage;
import com.wyvoid.core.persistent.Pagination;
import com.wyvoid.forum.domain.Message;

/**
 * 消息模块数据处理接口
 *
 * @author wyvoid
 * @link www.wyvoid.com
 */
public interface IMessageDAO extends IHibernateDAO<Message> {
    public HibernatePage getMySendMessages(long sendUserId, Pagination pagination);
    public HibernatePage getMyMessages(long receiverId, Pagination pagination);
    public HibernatePage getTrashMessages(long userId, Pagination pagination);
    public HibernatePage getDraftMessages(int status, long sendUserId, Pagination pagination);






}
